package cn.edu.stu.syllabus.repository.oa;

import java.util.List;

import cn.edu.stu.syllabus.repository.oa.local.OaInfoEntry;
import rx.Observable;

/**
 * Created by daidaijie on 2017/3/14.
 */

public interface OaStarDataSource {

    void starOaInfoEntry(OaInfoEntry oaInfoEntry);

    void unstarOaInfoEntry(OaInfoEntry oaInfoEntry);

    boolean isExistEntry(OaInfoEntry oaInfoEntry);

    Observable<List<OaInfoEntry>> getStarOaInfoEntries(long lastPosition, int pageNum);
}
